<?php
namespace app\index\validate;
use think\Validate;

class Set extends Validate
{
    protected $rule = [
        'title|标题' =>'require|min:3',
        'content|内容' =>'require|min:10',
    ];

   /* protected $message = [
        'title.require' =>'用户名不能为空',
        'title.min' =>'用户密码不能少于三位',

    ];*/
}